package day5;

/**
 * @author oldliu
 * @since 1.0
 */
public class ForBreak {
    public static void main(String[] args) {
        int i = 1;
        while (true) {
            System.out.println(i);
            i++;
            if (i > 10)
            {
                System.out.println(i);
                break;

            }
        }
    }
}
